using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace Tester
{
   public partial class Form1 : Form
   {
      public Form1()
      {
         InitializeComponent();
         string body = "data=%3C%3Fxml%20version%3D%221%2E0%22%20encoding%3D%22utf%2D8%22%3F%3E%3CRequest%3E%3CCommand%20Action%3D%22login%22%3E%3CSignIn%20LoginId%3D%22login1%22%20Password%3D%22password1%22%20Agreement%3D%22true%22%2F%3E%3C%2FCommand%3E%3C%2FRequest%3E&%5F%5Flzbc%5F%5F=1199358866546";

         //with text
         //string body = "data=%3c%3fxml+version%3d%221.0%22+encoding%3d%22utf-8%22%3f%3e%3cRequest%3e%3ctest%3e123%3c%2ftest%3e%3c%2fRequest%3e";

         string content_type="application/x-www-form-urlencoded";

         //string body = "";
         //string content_type="text/html; charset=UTF-8";

         //string body="{\n0: \\00000017\\0:conststr:PingToServer,\n1: \"0:int:0\",\n2: \"0:int:409790\",\n3: \"0:int:-1\",\n4: \"0:int:1426688\",\n5: \"65536:str:0\"\n}";
         //string content_type="text/html; charset=UTF-8";

         requestDisplayControl.Display(body, content_type);
      }
   }
}